/*
 * *****************************************************************************
 *  Copyright ( c ) 2019 huibur Inc. All Rights Reserved.
 *
 *  This software is the confidential and proprietary information of Huibur Inc
 *  (*Confidential Information*). You shall not disclose such Confidential Information
 *  and shall use it only in accordance with the terms of the license agreement
 *  you entered into with Huibur or a Huibur authorized
 *  reseller (the "License Agreement*).
 *  ******************************************************************************
 */

package com.huibur.devicecheck.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huibur.devicecheck.model.po.TypePO;
import com.huibur.devicecheck.model.query.TypeQuery;
import com.huibur.devicecheck.model.vo.TypeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface TypeMapper  extends BaseMapper<TypePO> {

    /**
     * 类别列表(查询并分页)
     * @param page
     * @param typeQuery
     * @return
     */
    IPage<TypeVO> selectListType(@Param("page")Page<TypePO> page,@Param("typeQuery") TypeQuery typeQuery);
}
